#ifndef _SCD_TUYAWIFI_V15_H_
#define _SCD_TUYAWIFI_V15_H_
#include "SCD_TUYAWIFI.H"
//<<<Use SPTML>>>
#define WIFI_UART 2 //WIFI_UART 
#define TY_WIFI_BaudRate 115200 //TY_WIFI_BaudRate 
#define WIFI_RXD P06 //WIFI_RXD 
#define WIFI_RXD_INIT 0x0040 //WIFI_RXD_INIT 
#define WIFI_TXD P05 //WIFI_TXD 
#define WIFI_TXD_INIT 0x0020 //WIFI_TXD_INIT 
#define WIFI_EN  //WIFI_EN 
#define WIFI_EN_INIT 0XFF00 //WIFI_EN_INIT 
#define WIFI_TUYA_ID ra9y6vfz2x1g13sa //WIFI_TUYA_ID 
#define INTERNET_MODE 0 //INTERNET_MODE 
#define WIFI_SETMCU_VER 1.0.0 //WIFI_SETMCU_VER 
#define WIFI_LENGH_MAX 20 //WIFI_LENGH_MAX 
extern unsigned long WifiValue;
extern unsigned char WifiData[];
extern unsigned char WifiCommand;
extern unsigned char WifiDPid;
extern unsigned int WifiLengh;
extern unsigned char WifiDPType;
extern void base64_encode(unsigned int *Lengh,unsigned char Value[]);
extern void mcu_dp_string_update(unsigned char dpid,unsigned char DP_Type,unsigned char value[],unsigned int Lengh);
extern void mcu_get_system_time();
extern void mcu_dp_value_update(unsigned char dpid,unsigned long value);
extern void base64_decode(unsigned int *Lengh,unsigned char Value[]);
extern void mcu_dp_enum_update(unsigned char dpid,unsigned char value);
extern unsigned char mcu_get_wifi_work_state();
extern void mcu_start_wifitest();
extern unsigned char wifi_uart_service();
extern void send_wifi_string(unsigned char Command,unsigned int Lengh,unsigned char Value[]);
extern void tuyawifi_uartinterrupt_service();
extern void wifi_protocol_init();
extern void mcu_dp_bool_update(unsigned char dpid,unsigned char value);
extern void mcu_reset_wifi();
extern void mcu_get_weather();
//<<<end of SPTML>>>
#endif
